﻿package Engine.flash
{
    import flash.events.*;

    public class ServerSender extends EventDispatcher
    {
        private static var _instance:ServerSender;
        private static var instanceNum:int = 0;

        public function ServerSender()
        {
            var _loc_2:* = instanceNum + 1;
            instanceNum = _loc_2;
            if (instanceNum > 1)
            {
                throw new Error("ServerSender 单例");
            }
            return;
        }// end function

        public static function get instance() : ServerSender
        {
            var _loc_1:* = new ServerSender;
            _instance = new ServerSender;
            return _instance || _loc_1;
        }// end function

    }
}
